import Toast from "react-native-root-toast";

export default function RNToast(msg: string) {
  Toast.show(msg, {
    duration: Toast.durations.LONG,
    position: Toast.positions.CENTER,
    shadow: false,
    animation: true,
    hideOnPress: true,
    delay: 0
  });
}
